package com.jic.member.mapper;

import com.jic.member.entity.MemMemberCustomLabel;
import com.jic.member.request.MemMemberCustomLabelRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MemMemberCustomLabelMapper {
    long insert(MemMemberCustomLabel memMemberCustomLabel);

    long delete(Long id);

    long update(MemMemberCustomLabel memMemberCustomLabel);

    MemMemberCustomLabel queryByPrimaryKey(Long id);

    List<MemMemberCustomLabel> query(MemMemberCustomLabel memMemberCustomLabel);

    List<MemMemberCustomLabel> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("memMemberCustomLabel") MemMemberCustomLabelRequest memMemberCustomLabelRequrst);

    long queryPageCount( @Param("memMemberCustomLabel") MemMemberCustomLabelRequest memMemberCustomLabelRequrst);

    long queryByDeptId( MemMemberCustomLabel memMemberCustomLabel);
}
